Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding energy filter num_dims check to avoid crash #64

Merged
merged 2 commits into from
Feb 29, 2024

Conversation

shimwell
Copy link
Member

As discussed here
https://openmc.discourse.group/t/neutron-flux-in-a-graphite-stack/3916/15

A tally with an energy filter has multiple values and there is not arg to indicate which one to plot. So for now we can check for the existance of energy filters that have more than 1 num_dims and raise a value error with a clear message to the user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant